﻿namespace ShanNiang.Hosting.Common
{
    /// <summary>
    /// 分页响应泛型类
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class PageResponse<T> : IPageResponse<T> where T : class
    {
        public PageResponse()
        {
            List = new List<T>();
        }
        /// <summary>
        /// 总数
        /// </summary>
        public int TotalCount { get; set; }
        /// <summary>
        /// 分页数据
        /// </summary>
        public List<T> List { get; set; }
    }
}
